//
//  CRInputEmoticonContainerView.h
//  TestPrj
//
//  Created by 朱铅峰 on 2020/8/4.
//  Copyright © 2020 Xing. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "CRPageView.h"
#import "CRSessionConfig.h"
#import "CRInputEmoticonTabView.h"
@class CRInputEmoticonCatalog;

@protocol CRInputEmoticonProtocol <NSObject>

- (void)emoticonDidPressSend:(id)sender;

- (void)selectedEmoticon:(NSString*)emoticonID catalog:(NSString*)emotCatalogID description:(NSString *)description;

@end

@interface CRInputEmoticonContainerView : UIView<CRPageViewDelegate,CRPageViewDataSource>

@property (nonatomic, strong)  CRPageView *emoticonPageView;
@property (nonatomic, strong)  UIPageControl  *emotPageController;
@property (nonatomic, strong)  NSArray                    *totalCatalogData;
@property (nonatomic, strong)  CRInputEmoticonCatalog    *currentCatalogData;
@property (nonatomic, readonly)NSArray            *allEmoticons;
@property (nonatomic, strong)  CRInputEmoticonTabView   *tabView;
@property (nonatomic, weak)    id<CRInputEmoticonProtocol>  delegate;
@property (nonatomic, weak)    id<CRSessionConfig> config;

@end
